﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Configuration;

namespace AMPS.APP
{
    public class WebConfigKey
    {
        public static const string IS_CLEAR_BD = "ISCLEARBD";
    }
    public class ApplicationLoader
    {
        public static string getWebConfig(string name){
            return WebConfigurationManager.AppSettings[name];
        }

        public static bool isClearBD()
        {
            return bool.Parse(getWebConfig(WebConfigKey.IS_CLEAR_BD));
        }
    }
}